drawChord(PDFPen,double,double,double,double,double,double) Method
In This Topic
Draws a chord representing a region bounded by the intersection of an ellipse and a line segment, called a secant, specified by a pair of coordinates, a width and a height.
Syntax
public void drawChord(
PDFPen ,
double ,
double ,
double ,
double ,
double ,
double
)
|
Parameters
- pen
- that determines the color, width, and style of the pie shape.
- x
- The x-coordinate of the upper-left corner of the bounding rectangle that defines the ellipse from which the pie shape comes.
- y
- The y-coordinate of the upper-left corner of the bounding rectangle that defines the ellipse from which the pie shape comes.
- width
- Width of the bounding rectangle that defines the ellipse from which the pie shape comes.
- height
- Height of the bounding rectangle that defines the ellipse from which the pie shape comes.
- startAngle
- Angle measured in degrees clockwise from the x-axis to the first side of the pie shape.
- sweepAngle
- Angle measured in degrees clockwise from the startAngle parameter to the second side of the pie shape.
See Also